<extend name="Base/base" />
<block name="head">
    <link href="/Public/Index/css/workflow.css" rel="stylesheet" /> 
    <style>
        .pointer{cursor: pointer}
    </style>
</block>
<block name="content" > 
    <div class="login_group">
        <form class="am-form">
            <fieldset>
                <div class="am-form-group">
                    <input type="username"  name='user_id' placeholder="请输入OA用户名">
                </div>

                <p><button type="button" class="am-btn ajax-post btn-submit">确定</button></p>
            </fieldset>
        </form>
    </div>
</block>
<block name="script">
    <script type="text/javascript">
        $(function(){
            $("input[name='user_id']").focus();
        })
        //回车登录
        $("input[name='user_id']").keydown(function (e) {
            if (e.keyCode === 13) {
                $(".btn-submit").click()
                return false;
            }
        });
    </script>
</block>


